package com.qfedu.meidijiaju.service;

import com.qfedu.meidijiaju.common.ResponseData;
import com.qfedu.meidijiaju.entity.FaxiantieziYxy;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 发现帖子 服务类
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-03
 */
public interface FaxiantieziYxyService extends IService<FaxiantieziYxy> {

    ResponseData<List<FaxiantieziYxy>> allFaXianTieZiByFaXianId(String faxiantypeId);

    ResponseData<FaxiantieziYxy> findFaXianTieZiByTieZiId(int tieziId);

    ResponseData<String> addFaXianTieZi(FaxiantieziYxy faxiantieziYxy);

    ResponseData<List<FaxiantieziYxy>> findFaXianTieZiByLike(String contentOrTitle);

    ResponseData<List<FaxiantieziYxy>> findFaXianTieZiByHuaTiId(int huaTiId);
}
